MOVE block

Short summary

Name

MOVE

→POU type

→function

Category

IEC-block, Numeric

Conform to →IEC-standard

(error) currently restricted(IEC demands data type ANY for the input and the return value. Hence the following data types are demanded as well: LTIMEWSTRINGWCHARLDATE_AND_TIMELTIME_OF_DAYLDATE. Currently, these data types are not supported for the block.) 

Graphical interface

Available since

  • version 1.18.0 (for Neuron Power Engineer) – initial variant

  • version 1.109.0 (for Neuron Power Engineer) – enhancement: STRING , CHAR, user-defined data types and references for IN and for the return value

Functionality

The block returns the value connected to the input. Nothing is calculated.

Inputs, return value

 

Identifier

→Data type

Description

Inputs:

IN

REALLREALUSINTUINTUDINTULINTSINTINTDINTLINTTIMEBOOLBYTEWORDDWORDLWORDSTRINGCHARDATE_AND_TIMEDATETIME_OF_DAY, a →user-defined data type, a →function block or a →reference
Restriction: In case of →array data types, only one-dimensional arrays are allowed.

input

Return value:

REALLREALUSINTUINTUDINTULINTSINTINTDINTLINTTIMEBOOLBYTEWORDDWORDLWORDSTRINGCHARDATE_AND_TIMEDATETIME_OF_DAY, a →user-defined data type, a →function block or a →reference
Restriction: In case of →array data types, only one-dimensional arrays are allowed.

 

Input EN and output ENO are available when →calling the block. See "Execution control: EN, ENO" for information on input EN and output ENO.

See:

Example for usage within ST-editor

PROGRAM Test
   VAR
      result : REAL;
   END_VAR
   result := MOVE(IN := 1000.0);    (* The variable 'result' evaluates to '1E+3'. *)
END_PROGRAM

When creating your application within the ST-editor, enter a call of a block by typing the text as requested by the syntax or use Content Assist.